Skip to content

Instantly share code, notes, and snippets.

@mosster
mosster / gist:59b5080f68c338b9cfd52649e572ccce
Created August 14, 2026 17:44
List of free email domains
/**
* Consumer email providers. A signup on one of these is a person, not a
* company, so it stays out of the B2B outreach channel.
*
* Matching is EXACT on the full domain, which is why country variants are
* listed individually. The obvious shortcut — matching on the first label so
* `live.*` covers every Microsoft ccTLD — would wrongly classify a company at
* `live.io` or `mail.co` as a free provider, and a false negative here (one
* personal address reaching the outreach channel) is much cheaper than a false

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@diego3g
diego3g / settings.json
Last active August 21, 2026 22:19
VSCode Settings (Updated)
{
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 16,
"editor.lineHeight": 1.8,
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.rulers": [
80,
120
],
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active August 21, 2026 22:17
Complete Recent Discord Quest

Caution

As of April 7th 2026, Discord has expressed their intent to crack down on automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you most likely WILL get flagged by doing so.

Complete Recent Discord Quest

How to install Homebrew package manager on Steam Deck

(See also installing Distroboxm, which is included in SteamOS 3.5 and newer: https://distrobox.it/ )
(See also installing Nix package manager: https://determinate.systems/posts/nix-on-the-steam-deck )

You can install Homebrew (a package manager for macOS and Linux) without disabling the read-only partition with sudo steamos-readonly disable.
The package manager can be used alongside Flatpaks. Some software is only available on Flathub, and some software is only available on Homebrew.

  1. Switch to desktop mode (hold power button until a menu appears, then select "Switch to desktop mode")
  2. Click the logo at the bottom left, go to System, then go to Konsole
@aarondfrancis
aarondfrancis / audit-your-codebase.md
Created August 14, 2026 15:20
A read-only, agent-orchestrated codebase audit prompt for data structures, state modeling, algorithms, and ownership.

Audit this entire codebase for materially useful simplifications in its data structures, state representation, control flow, algorithms, and ownership.

This is an audit-only exercise. Do not edit files, run tests, implement recommendations, commit, or push. Read-only inspection commands are allowed.

You are the coordinator. Continue until the complete codebase has been reviewed and the final audit is validated.

  1. Establish the coverage contract

Inspect the repository and inventory every identifiable subsystem.

@rgsteele
rgsteele / Install-WindowsUpdateHealthTools.ps1
Created February 1, 2025 23:17
A PowerShell script for downloading and installing the Windows Update Health Tools
# Download the tool
$downloadUri = 'https://download.microsoft.com/download/d/7/e/d7e9fd79-e6fe-4036-85df-c60254f50d90/Expedite_packages.zip'
$downloadDest = Join-Path $env:TEMP 'Expedite_packages.zip'
$extractDest = Join-Path $env:TEMP 'Expedite_packages'
try {
if (Test-Path $downloadDest) { Remove-Item $downloadDest -Force }
Invoke-WebRequest -Uri $downloadUri -OutFile $downloadDest
} catch {
Write-Host 'Failed to download installation media'
name explain-diff-html
description Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.

Explain Diff

Please make me a rich, interactive explanation of the specified code change.

It should have these sections:

@portbuster1337
portbuster1337 / exploit.py
Created August 13, 2026 21:11
GeoServer jsonArrayContains SQLi -> PostgreSQL RCE python PoC
#!/usr/bin/env python3
"""
GeoServer jsonArrayContains SQLi -> PostgreSQL RCE / SQL / exfiltration PoC
GeoTools FilterToSqlHelper.constructEquality writes the `expected` argument of
jsonArrayContains RAW into the SQL string (only the JSON pointer is escaped):
jsonb_path_exists("data"::jsonb, '$ ? (@.a == "<VALUE>")')
A single quote in VALUE breaks out of the string literal, closes the call